package com.mutual.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import com.mutual.entity.Dividend;

@Repository("dividendDaoImpl")
public interface IDividendDao {

	List<Dividend> listDividendAll();

	List<Dividend> listDividendByPage(RowBounds bounds,@Param("condition") Dividend condition);

	int listDividendByPageCount(@Param("condition") Dividend condition);

	Dividend getDividendById(@Param("id") String id);
	
	Dividend getDividendByMemberId(Map map);

	void add(Dividend item);
	
	void addTeam(Dividend item);

	void update(Dividend item);

	void delByIds(String[] ids);

	Dividend getByMemberId(Map map);

}